package com.yt.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/*
 * TODO
 *
 * @Emil si6moonlxy@gmail.com
 * @Author yzz
 * @Date 09 2025/9/1 下午3:21
 */
@MapperScan("com.yt.*.mapper*")
@SpringBootApplication
@ComponentScan(basePackages = {"com.yt.*"})
@EnableAsync
@EnableTransactionManagement
@EnableScheduling
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(UserApplication.class);
        SpringApplication.run(UserApplication.class, args);
    }
}
